<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@page import="b1w1nn1ng.crossf1t.gui.*, java.util.*, java.sql.*, b1w1nn1ng.crossf1t.business.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title> Username Settings </title>
		<jsp:include page="/detectBrowser.jsp" />	
	</head>
	
	<%
		User user = (User) session.getAttribute("user");
		session.setAttribute("user", user); 
	%>
	
	<body>
		<div id="container">
		<jsp:include page="/navbar.jsp" />	
		<h1> Username Settings </h1> <hr />
	
		<form method="get" action="../settings.jsp">
			<table id="settingsTable" style="text-align:left; width:450px; font-size: 24px;">
				<tr>
					<td> Old Username: </td>
					<td> <%= user.getUsername() %> </td>
				</tr>
				<tr>
					<td> New Username: </td>
					<td> <input type="text" name="newUsername" /> </td>
				</tr>
			</table>
			<input type="submit" value="Save" /> 
		</form>
		</div>
		</body>
</html>





